import request from '@/utils/request'

// 查询
export function getInfo(query) {
  return request({
    url: `/workstation/monitorOneInfo/list`,
    method: 'get',
    params: query
  })
}

// downloadPDF
export function downloadPDF(ids) {
  return request({
    url: `/workstation/monitorOneInfo/download/${ids}`,
    method: 'get',
  })
}


export function downloadjson(ids) {
  return request({
    url: `/workstation/managerInfo/json`,
    method: 'get',
  })
}

export function downjsons(ids) {
  return request({
    url: `/workstation/managerInfo/json/${ids}`,
    method: 'get',
  })
}

// 删除AAA
export function delAAAA(id) {
  return request({
    url: '/workstation/monitorOneInfo/' + id,
    method: 'delete'
  })
}

// 删除BBB
export function delBBBB(id) {
  return request({
    url: '/workstation/monitorTwoInfo/' + id,
    method: 'delete'
  })
}

